package com.eduction.service.impl;

import java.sql.SQLException;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.eduction.modules.system.dao.SchoolPointMapRepository;
import com.eduction.modules.system.entity.SchoolPointMap;
import com.eduction.service.SchoolPointMapService;

@Service
public class SchoolPointMapServiceImpl implements SchoolPointMapService {

	@Autowired
	private SchoolPointMapRepository schoolPointMapRepository;
	
	@Override
	public void saveSchoolPointMap(SchoolPointMap m) {
		this.schoolPointMapRepository.saveSchoolPointMap(m);
	}

	@Override
	public SchoolPointMap queryOneByPid(String id) throws SQLException {
		return this.schoolPointMapRepository.queryOneByPid(id);
	}

}
